package com.xxgc.qinglian.qinglianserver.entity;/*
 * @Author:lsx
 * @Date:2025/6/9--06--09--20:38
 *
 */

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import org.dromara.autotable.annotation.ColumnComment;
import org.dromara.autotable.annotation.mysql.MysqlTypeConstant;
import org.dromara.mpe.autotable.annotation.ColumnId;
import org.dromara.mpe.autotable.annotation.Table;
import org.dromara.mpe.processer.annotation.AutoDefine;
import org.dromara.mpe.processer.annotation.AutoMapper;
import org.dromara.mpe.processer.annotation.AutoRepository;

@AutoDefine
@AutoMapper
@AutoRepository
@Data
@Table(value = "qinglian_project", comment = "项目表")
public class ProjectEntity {
    @ColumnComment("项目id")
    @ColumnId(mode = IdType.AUTO, comment = "项目主键", type = MysqlTypeConstant.BIGINT, length = 32)
    private String projectId;

    @ColumnComment("投票id")
    private String voteId;

    @ColumnComment("项目名字")
    private String name;

    @ColumnComment("项目成员")
    private String projectMember;

    @ColumnComment("项目介绍")
    private String description;

    @ColumnComment("项目图")
    private String image;

    @ColumnComment("项目类型")
    private String type;

    @ColumnComment("项目场外总票")
    private Integer totalVotes;

    @ColumnComment("项目场内总票")
    private Integer totalInsideVotes;

    @ColumnComment("项目得分")
    private Integer score;
}
